package org.chnxi.study.springcloud.dubbo.dto;

import lombok.*;

@Getter
@Setter
@ToString
@AllArgsConstructor
@NoArgsConstructor
public class ApplicationDescrib {
    private String name;  //应用名称
    private String host;  //主机名或IP地址
    private String zone;  //所属区域
    private String dcenter; //所属中心

    public static ApplicationDescrib getInstance(){
        ApplicationDescrib appDesc = new ApplicationDescrib();
        appDesc.setName("appName");
        appDesc.setHost("hostNameOrIP");
        appDesc.setZone("zone");
        appDesc.setDcenter("dataCenter");
        return appDesc;
    }
}
